package com.lzxuni.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzxuni.po.RhDataCustom;

public interface RhDataMapper {
	//插入气象数据
    void insertRhData(@Param("params")Map<String,Object> map)throws Exception;
//检查气象数据是否重复，避免脏数据
    Integer findRhDataInspect(@Param("userkey")String userkey,@Param("createTime")String createTime);
   //查询集合
    List<RhDataCustom> findRhDataList(RhDataCustom rhDataCustom)throws Exception;
	//按userkey分组查询
	List<RhDataCustom> findRhGroupList(RhDataCustom rhDataCustom)throws Exception;
	//查询时间点之后的数据
	List<RhDataCustom> findRhDataByTime(String createTime)throws Exception;
}
